package com.yixun.lbx.mapper.farm;

import com.yixun.lbx.entity.YxProBreedTreat;

import java.util.HashMap;
import java.util.List;

public interface BreedTreatMapper {
    int deleteByPrimaryKey(HashMap<String, Object> map);

    int insertSelective(HashMap<String, Object> map);

    YxProBreedTreat selectByPrimaryKey(Long id);
    
    /**
     * @param [map]
     * @return int
     */
    int updateByPrimaryKeySelective(HashMap<String, Object> map);
    /**
     * @param record TODO
     * @return int
     * @apiNote updateByPrimaryKey 更新诊疗记录通过id
     */
    int updateByPrimaryKey(YxProBreedTreat record);

    Integer getCount(HashMap<String, Object> map);

    List<YxProBreedTreat> getListByPage(HashMap<String, Object> map);

    List<YxProBreedTreat> getObjByArgs(YxProBreedTreat breedTreat);

    List<YxProBreedTreat> getSearchListByPage(HashMap<String, String> map);
}